<!doctype html>
<html>
  <head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>SIS Statistics Tool</title>
    <link rel="stylesheet" type="text/css" href="style.css"/>
    <!-- JavaScript and HTML must be in separate files for security. -->
    <script src="js/sis/extract_sis_discuz6.0.js"></script>
    <script src="js/manage_module.js"></script>
    <script src="js/objects.js"></script>
    <script src="js/dao.js"></script>
    <script src="js/spider.js"></script>
    <script src="js/main.js"></script>
  </head>
  <body>
  <div><textarea id='fake_post' style="width:400px;height:300px;"></textarea>
  <input type='button' value='test' onclick='javascript:test();'></input>
  </div>
  <div id="div_content">
  <div id='test_area' style="display:block;">
  <table id="post_area_12345" class="post_area"></table>
  </div>
  </div>
  </body>
  </html>
  <script language="javascript">
  function test() {
	  var post = {};
	  post.content = document.getElementById('fake_post').value;
	  post.floor = 1;
	  var thread = {};
	  thread.managed_floor = 0;
	  check_post(post, thread);
  }

function init() {
	document.getElementById("test_area").module_id = "12345";
}
window.onload = init;
</script>
